﻿using System;
using System.ComponentModel.DataAnnotations;

namespace SenileCoderMvc.Library.Models
{
    public class CodeSnippet : IModel
    {
        public virtual int Id { get; set; }
        [Required]
        public virtual string Name { get; set; }
        [Required]
        public virtual string Snippet { get; set; }
        public virtual DateTime Created { get; set; }
        public virtual DateTime Modified { get; set; }
    }
}
